package com.cnebula.openapi.auth.authtoken.exception;

import io.vertx.core.json.JsonObject;

public class AccessTokenIllegalException extends Exception {
	
	private static final long serialVersionUID = 1L;

	@Override
	public String getMessage() {
		String code = ErrorCodeInfo.ACCESS_TOKEN_ILLEGAL;
		String errorMsg = ErrorCodeInfo.ACCESS_TOKEN_ILLEGAL_INFO;
		
		JsonObject rst = new JsonObject();
		rst.put("msg_code", code);
		rst.put("msg_desc", errorMsg);

		return rst.toString();
	}
}
